MailOptin\Core\Connections\AbstractConnect B

Total Complexity 82
Dependencies 7
Dependents 70
Total lines 607
Lines of code 297
Logical lines of code 149
Comment lines 143
Methods 33
Properties 2

Methods 33

Method Rating Maintainability Complexity Lines of code
send_optin_error_email()
A
41 8 56
is_rate_limit_exceeded()
A
55 9 17
save_campaign_error_log()
S
50 6 26
static_oauth_token_refresh()
S
52 6 23
get_integration_data()
S
61 7 10
form_custom_field_mappings()
S
60 4 13
get_optin_error_log_link()
S
56 3 18
save_optin_error_log()
S
62 3 10
ajax_failure()
S
68 3 6
data_filter()
S
77 3 3
is_http_code_not_success()
S
75 2 4
is_http_code_success()
S
74 2 4
is_ajax_success()
S
77 2 3
get_optin_error_log()
S
68 2 7
has_optin_error_log()
S
68 2 7
get_integration_tags()
S
68 2 7
get_first_last_names()
S
63 2 10
uuid_to_campaignlog_id()
S
63 1 11
get_email_campaign_campaign_title()
S
80 1 3
oauth_token_refresh()
S
78 1 3
delete_oauth_refresh_error_count()
S
75 1 4
increment_oauth_refresh_error_count()
S
67 1 7
campaignlog_id_to_uuid()
S
72 1 5
__construct()
S
91 1 2
get_email_campaign_list_id()
S
79 1 3
get_last_name()
S
78 1 3
get_first_name()
S
78 1 3
error_message_plain_text()
S
67 1 7
error_message_html_template()
S
73 1 5
get_oauth_url()
S
67 1 8
ajax_success()
S
79 1 3
form_custom_fields()
S
79 1 3
oauth_expires_at_transform()
S
78 1 3